var analyticsElementArray=[];
var pageAnalyticsElementArray=[];


// ************* PAGE SPECIFIC ANALYTICS CONTENT START ***********************//
function PageAnalyticsElement(name, content){
   this.tagAttribute=name;
   this.tagValue = content;
}


pageAnalyticsElementArray['WT.ti'] =  new PageAnalyticsElement('WT.ti','Set up a new payee');

pageAnalyticsElementArray['WT.sp'] =  new PageAnalyticsElement('WT.sp','Retail Banking;Account Transaction');

pageAnalyticsElementArray['WT.cg_n'] =  new PageAnalyticsElement('WT.cg_n','Payments');

pageAnalyticsElementArray['WT.cg_s'] =  new PageAnalyticsElement('WT.cg_s','Set up a new payee');

pageAnalyticsElementArray['DCS.dcsaut'] =  new PageAnalyticsElement('DCS.dcsaut','[txtUserName]');


// ************* EVENT SPECIFIC ANALYTICS CONTENT START ***********************//
function AnalyticsElement(element, action, tagvalue){
    this.id=element;
    this.event=action;
    this.metatag=tagvalue;
}


analyticsElementArray['pnlSetupNewPayeePayaBill:frmSeachByAccountDetail:lnk_EnterCompanyManually'] =  new AnalyticsElement('pnlSetupNewPayeePayaBill:frmSeachByAccountDetail:lnk_EnterCompanyManually','click', "'WT.ac','common/properties.lnk0067a,Enter Company Details Manually'");

analyticsElementArray['pnlSetupNewPayeePayaBill:frmSeachByAccountDetail:lnkPrevious'] =  new AnalyticsElement('pnlSetupNewPayeePayaBill:frmSeachByAccountDetail:lnkPrevious','click', "'WT.ac','common/properties.lnk0003a,common/properties.lnk0003b,Previous'");

analyticsElementArray['pnlSetupNewPayeePayaBill:frmSeachByAccountDetail:lkcancel'] =  new AnalyticsElement('pnlSetupNewPayeePayaBill:frmSeachByAccountDetail:lkcancel','click', "'WT.ac','common/properties.lnk0001a,common/properties.lnk0001b,Cancel'");

analyticsElementArray['pnlSetupNewPayeePayaPerson:frmPayaPerson:btnDoCreatePersonalBeneficiary'] =  new AnalyticsElement('pnlSetupNewPayeePayaPerson:frmPayaPerson:btnDoCreatePersonalBeneficiary','click', "'WT.ac','common/properties.btn0001a,common/properties.btn0001b,Continue','WT.si_x','Step1 ','WT.si_n',' Make payment - New recepient'");

analyticsElementArray['frmSetupNewPayeeSearch:lnk_EnterCompanyManually'] =  new AnalyticsElement('frmSetupNewPayeeSearch:lnk_EnterCompanyManually','click', "'WT.ac','common/properties.lnk0067a,Enter company details manually'");

analyticsElementArray['frmSetupNewPayeeSearch:lnkPrevious'] =  new AnalyticsElement('frmSetupNewPayeeSearch:lnkPrevious','click', "'WT.ac','common/properties.lnk0003a,common/properties.lnk0003b,Previous'");

analyticsElementArray['frmSetupNewPayeeSearch:lkcancel'] =  new AnalyticsElement('frmSetupNewPayeeSearch:lkcancel','click', "'WT.ac','common/properties.lnk0001a,common/properties.lnk0001b,Cancel'");

analyticsElementArray['frmSetupNewPayeeSearch:btnDoDisplayBeneficiary'] =  new AnalyticsElement('frmSetupNewPayeeSearch:btnDoDisplayBeneficiary','click', "'WT.ac','common/properties.btn0001a,common/properties.btn0001b,Continue','WT.si_x','Step 1','WT.si_n',' Make payment - New recepient'");

analyticsElementArray['pnlSetupNewPayeePayaBill:frmEnterCompanyManually:lnkRegularPayment'] =  new AnalyticsElement('pnlSetupNewPayeePayaBill:frmEnterCompanyManually:lnkRegularPayment','click', "'WT.ac','common/properties.lnk0012a,common/properties.lnk0012b,Set up a standing order'");

analyticsElementArray['pnlSetupNewPayeePayaBill:frmEnterCompanyManually:lnkPrevious'] =  new AnalyticsElement('pnlSetupNewPayeePayaBill:frmEnterCompanyManually:lnkPrevious','click', "'WT.ac','common/properties.lnk0003a,common/properties.lnk0003b,Previous'");

analyticsElementArray['pnlSetupNewPayeePayaBill:frmEnterCompanyManually:lkcancel'] =  new AnalyticsElement('pnlSetupNewPayeePayaBill:frmEnterCompanyManually:lkcancel','click', "'WT.ac','common/properties.lnk0001a,common/properties.lnk0001b,Cancel'");

analyticsElementArray['pnlSetupNewPayeePayaBill:frmEnterCompanyManually:btnCreatePersonalBeneficiary'] =  new AnalyticsElement('pnlSetupNewPayeePayaBill:frmEnterCompanyManually:btnCreatePersonalBeneficiary','click', "'WT.ac','common/properties.btn0001a,common/properties.btn0001b,Continue','WT.si_x','Step1','WT.si_n',' Make payment - New recepient'");

